export type AuthUser = {
  id: string
  name: string
  email: string
  role: 'admin' | 'user'
}

export type LoginPayload = {
  username: string
  password: string
}

export type LoginResponse = {
  token: string
  user: AuthUser
}

export type ProfileResponse = {
  user: AuthUser
}


